-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unlock malaria-infected civs #1344
Conversation
Is there anyway to make these non-playable? (can not be slotted by a player) |
I don't think so. Well, you could always script the editor the remove the attribute when the selection contains at least one of these, but that would be rather clumsy. |
This comment has been minimized.
This comment has been minimized.
This is how I imagined it. |
Seems to be a non-matching material in both lods compared to what is listed in class Damage. Not going to fix this BI bug though. Unit is excluded. |
And this is how you do it without the scripts (apart from the setDamage part). Game apparently has faces for different races:
But all classes are African. What do about that? What's the rationale behind 0.475 vs 0.45? 0.45 seems to be enough to trigger head damage material. |
Yeah, I noticed that something was off with that class, that's why I excluded it.
Agreed, much nicer solution when one knows how to configure characters properly.
Yeah, I noticed that, but I'm not sure they are functional.
I thought so too, but when I tested it on dedicated yesterday, the results were inconsistent with |
I will try. If they are, they could still be used with setFace, which should then also change the skin color of the body.
May have been a rounding thing? Can't really imagine that though. |
The other faces all work in that they don't show bloddy scratches as a wounded person would. Only some of them show the skin disease though. I'd say we make the existing classes public, and give the other faces identity tokens and that's it. So this PR is done. |
Works nicely on dedicated. |
My earlier comment was wrong. It is actually consistent. |
Preface:
The Old Man update introduced malaria-infected civilians, however these classes are currently not visible in Eden and Zeus. The way they work is that they change the wound textures of the base civilian classes, which means that the infection is only visible when the unit is injured.
When merged this pull request will: